﻿using AutoMapper;
using BCDto.MySql.FreightConfigurationExtention;
using BCDto.TMS.FreightConfiguration;
using BCDto.TMS.NightFreightConfiguration;
using BCDto.TMS.VehicleTransportBusinessConfig;
using BCDto.TMS.VehicleTransportBusinessConfigOverwrite;
using BCEntity.MySql.FreightConfigurationExtention;
using BCEntity.TMS.Agent.AgentNightFreightConfiguration;
using BCEntity.TMS.FreightConfiguration;
using BCEntity.TMS.NightFreightConfiguration;
using BCEntity.TMS.VehicleTransportBusinessConfig;

namespace BCService.MapperProfiles.TMS.VehicleTransportBusinessConfig
{
    public class VehicleTransportBusinessConfigProfile : Profile
    {
        public VehicleTransportBusinessConfigProfile()
        {
            CreateMap<VehicleTransportBusinessConfigViewEntity, VehicleTransportBusinessConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTransportBusinessConfigEntity, VehicleTransportBusinessConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTransportBusinessConfigEntity, VehicleTransportBusinessConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTransportBusinessConfigOverwriteEntity, VehicleTransportBusinessConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTransportBusinessConfigViewEntity, VehicleTransportBusinessConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTransportBusinessConfigOverwriteEntity, VehicleTransportBusinessConfigOverwriteDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTransportBusinessConfigViewEntity, VehicleTransportBusinessConfigOverwriteViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<VehicleTransportBusinessConfigDto, VehicleTransportBusinessConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter(); 


        }
    }
}
